package com.shengcheng.service;

import com.shengcheng.entity.UserAccount;
import com.shengcheng.result.RetVal;
import com.shengcheng.vo.AccountLockVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户账户 服务类
 * </p>
 *
 * @author 强哥
 * @since 2023-12-16
 */
public interface UserAccountService extends IService<UserAccount> {

    RetVal checkAndLock(AccountLockVo accountLockVo);

    void deductLockAccount(String orderNo);

    void unLockAccount(String orderNo);
}
